package dfbz.com.controller.dept;

import dfbz.com.controller.BaseServlet;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@WebServlet("/dept/*")
public class DeptServlet extends BaseServlet {
    public void list(HttpServletResponse response, HttpServletRequest request){
        try {
            response.sendRedirect(request.getContextPath()+"/view/deptList");
        }catch (Exception e){
            e.printStackTrace();
        }

    }
}
